package com.tbit.uqbike.client.remote;

import cn.hutool.core.date.DateUtil;

/**
 * 回调通知
 *
 * @author lmy
 * @create 2020-09-08 16:12
 */
public class WxPay {
    private String id;
    private String create_time;
    private String event_type;
    private String resource_type;
    private WxPayData resource;

    public static void main(String[] args) {
        String time = "2019-07-30T16:36:59+08:00";

        System.out.println(DateUtil.parse(time).getTime());
    }

    @Override
    public String toString() {
        return "WxPay{" +
                "id='" + id + '\'' +
                ", create_time='" + create_time + '\'' +
                ", event_type='" + event_type + '\'' +
                ", resource_type='" + resource_type + '\'' +
                ", resource=" + resource +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getEvent_type() {
        return event_type;
    }

    public void setEvent_type(String event_type) {
        this.event_type = event_type;
    }

    public String getResource_type() {
        return resource_type;
    }

    public void setResource_type(String resource_type) {
        this.resource_type = resource_type;
    }

    public WxPayData getResource() {
        return resource;
    }

    public void setResource(WxPayData resource) {
        this.resource = resource;
    }
}
